﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HZ.Supervise.Web.PageControl
{
    public partial class AreaLeft : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack)
            {
               
                //add by 曹鹏 2011年5月7日15:42:29 取得当前用户
                lblCurrentUser.Text = HZ.Supervise.Web.Function.GetNowTime() + "&nbsp;&nbsp;<img alt='' src='../Images/ModalImageAh_New/smile.gif'/>&nbsp;&nbsp;" + CurrentAccount.GetUser().UserName;
                //取得当前用户角色
                this.lblCurrentRole.Text = CurrentAccount.GetUser().Org.OrgName;

            }

        }

    }
}
